package cn.itheima.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author : itheima
 * @date : 2023/6/6 14:20
 * @description :
 */
@Configuration
@EnableFeignClients(basePackages ={"cn.itheima.clients"} )
public class FeignConfig {
    @Bean
    public Logger.Level feignLoggerLevel(){
        return Logger.Level.BASIC;
    }
}
